Suppress warning on GCC 4.2 when building 32 bit mode.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 29 Jun 2011 17:43:38 +0000 (17:43 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 29 Jun 2011 17:43:38 +0000 (17:43 +0000)
gpsbabel/mac/libusb/darwin.c

index d550fa6b13a05d43f9d473a0ca673a586b0da605..91825cb051d6fef368d633bf83ab98bb917b717b 100644 (file)
@@ -1115,7 +1115,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices)
     result = (*(device))->GetDeviceAddress(device, (USBDeviceAddress *)&address);
 
     if (usb_debug >= 2)
-      fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08x\n", location);
+      fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08lx\n", location);
 
     /* first byte of location appears to be associated with the device's bus */
     if (location >> 24 == bus_loc >> 24) {
@@ -1142,7 +1142,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices)
       LIST_ADD(fdev, dev);
 
       if (usb_debug >= 2)
-       fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08x\n",
+       fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08lx\n",
                dev->filename, bus->dirname, location);
     }